import syRequest from ".."

export function uploadImageInCommunity(formData: FormData, folder = "Community") {
  return syRequest.post({
    url: `/file/singleFile`,
    params: {
      folder
    },
    //  singleFile文件的请求字段名
    data: formData
    // headers: {
    //   "Content-Type": "multipart/form-data"
    // }
  })
}
